:root {
    --sans-serif-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --monospace-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "liberation mono", "courier new", monospace;
}
#wenyan {
    font-family: var(--sans-serif-font);
    line-height: 1.75;
}
#wenyan * {
    box-sizing: border-box;
}
#wenyan h1,
#wenyan h2,
#wenyan h3,
#wenyan h4,
#wenyan h5,
#wenyan h6,
#wenyan p,
#wenyan pre {
    margin: 1em 0;
}
#wenyan h1,
#wenyan h2,
#wenyan h3,
#wenyan h4,
#wenyan h5,
#wenyan h6 {
    line-height: 1.5;
    margin-top: 35px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}
#wenyan h1 {
    font-size: 24px;
    line-height: 38px;
    margin-bottom: 5px;
}
#wenyan h2 {
    font-size: 22px;
    line-height: 34px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
}
#wenyan h3 {
    font-size: 20px;
    line-height: 28px;
}
#wenyan ul,
#wenyan ol {
    padding-left: 1.2em;
}
#wenyan li {
    margin-left: 1.2em;
}
#wenyan img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
#wenyan table {
    display: inline-block !important;
    font-size: 12px;
    width: auto;
    max-width: 100%;
    overflow: auto;
    border: 1px solid #f6f6f6;
}
#wenyan thead {
    background: #f6f6f6;
    color: #000;
    text-align: left;
}
#wenyan table td,
#wenyan table th {
    padding: 12px 7px;
    line-height: 24px;
}
#wenyan blockquote {
    color: #666;
    padding: 1px 23px;
    margin: 22px 0;
    border-left: 4px solid #cbcbcb;
    background-color: #f8f8f8;
    font-size: 0.95em;
}
#wenyan p code {
    font-family: var(--monospace-font);
    background: #fff5f5;
    color: #ff502c;
    padding: 4px 6px;
    font-size: 0.78em;
}
#wenyan pre {
    line-height: 2;
    margin: 1em 0.5em;
    padding: .5em;
    color: #333;
    background: #f8f8f8;
}
#wenyan pre code {
    font-family: var(--monospace-font);
    display: block;
    overflow-x: auto;
    margin: .5em;
    padding: 0;
    background: #f8f8f8;
}
#wenyan hr {
    border: none;
    border-top: 1px solid #ddd;
    margin-top: 32px;
    margin-bottom: 32px;
}
/* 链接 */
#wenyan a {
    word-wrap: break-word;
    color: #0069c2;
}
/* 脚注 */
#wenyan #footnotes ul {
    font-size: 0.9em;
    margin: 0;
    padding-left: 1.2em;
}
#wenyan #footnotes li {
    margin: 0 0 0 1.2em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
}
#wenyan .footnote {
    color: #0069c2;
}
